package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("emp_log")
public class EmpLog {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(exist = false)
    private Integer empId;

    @TableField("operate_time")
    private LocalDateTime operateTime;

    @TableField("info")
    private String info;
    
    @TableField(exist = false)
    private String operateType;

    @TableField(exist = false)
    private String beforeData;

    @TableField(exist = false)
    private String afterData;
}
